﻿using System;
using XcoAppSpaces.Core;

namespace testServer.XcoAppSpaces.Core
{
	class CompactWorker : PCompactWorker
	{
		[XcoConcurrent]
		void ProcessCompactRequest(CompactRequest msg)
		{
			Console.WriteLine("Request received: " + msg.Msg);
			msg.ResponsePort.Post("Response to \"" + msg.Msg + "\" at " + DateTime.Now);
			Console.WriteLine("Response posted.");
		}
	}
}